home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Columbia Kermit
/
kermit.zip
/
bench
/
x.txt
/
000188_arthur.marsh@adelaide.edu.au_Mon Dec 3 09:31:40 EST 2001.msg
< prev
next >
Wrap
Text File
|
2020-01-01
|
3KB
|
54 lines
Article: 13012 of comp.protocols.kermit.misc
Message-ID: <3C0AE075.3000601@adelaide.edu.au>
Date: Mon, 03 Dec 2001 12:46:21 +1030
From: Arthur Marsh <arthur.marsh@adelaide.edu.au>
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:0.9.6) Gecko/20011120
X-Accept-Language: en-us
MIME-Version: 1.0
Newsgroups: comp.protocols.kermit.misc
Subject: Re: Problems with C-Kermit, modems, Unix, dialling....
References: <3c075082.1810713@news.ision.net.uk> <9u84e8$fps$1@newsmaster.cc.columbia.edu> <Gnn7wK.CFu@fcshome.stoneham.ma.us> <3C0ABA43.20004@adelaide.edu.au> <9ueg27$54d$1@newsmaster.cc.columbia.edu>
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
NNTP-Posting-Host: arthur-4100.its.adelaide.edu.au
X-Trace: 3 Dec 2001 12:46:20 +0950, arthur-4100.its.adelaide.edu.au
Lines: 35
Path: newsmaster.cc.columbia.edu!panix!howland.erols.net!newsfeed.cwix.com!news.maxwell.syr.edu!news1.optus.net.au!optus!yorrell.saard.net!hakea.services.adelaide.edu.au!arthur-4100.its.adelaide.edu.au
Xref: newsmaster.cc.columbia.edu comp.protocols.kermit.misc:13012
No, C-Kermit's run uses the shell currently defined for the user. If
C-Kermit is defined as the login shell (useful for some situations),
there isn't access to running other executables from within C-Kermit,
hence the need for system(3) which uses /bin/sh regardless of the user's
login shell.
Thanks for your interest,
Arthur.
Frank da Cruz wrote:
> In article <3C0ABA43.20004@adelaide.edu.au>,
> Arthur Marsh <arthur.marsh@adelaide.edu.au> wrote:
> : Maybe this is time to ask for yet another feature for C-Kermit - an
> : interface to the system(3) call, which is part of XPG4 Unix. That way,
> : serial board-specific command line utilities (such as Stallion's bcstty)
> : could be run from within C-Kermit when kermit is defined as the login
> : shell (system(3) is supposed to use sh and not the login shell from what
> : I've read of the manual pages). NOPUSH should disable this of course,
> : and there may be other security concerns to think about, but it would
> : give C-Kermit some extra functionality and the ability to do more with
> : serial hardware without having to know more about the hardware specifics.
> :
> Doesn't C-Kermit's RUN (!) command take care of this?
>
> - Frank
>
--
Arthur Marsh, Network Support Officer, Information Technology Services
The University of Adelaide SA 5005 Australia
Ph: +61 8 8303 6109, Mobile: +61 414 260 077